// const APIURl = 'http://jsgj-api.xinfubu.com'
const APIURl = 'https://qygjapi.iandmytrove.com.cn'
// const APIURl = 'http://localhost:4002'
// module.exports = {
//   APIURl: process.env.NODE_ENV === 'development' ? '':process.env.VUE_APP_BASE_API,
//   timeout: process.env.NODE_ENV === 'development' ? 100000 : 1000000,
//   WebSocketUrl: process.env.NODE_ENV === 'development' ? APIURl.replace('http', 'ws') + '/websocket' : process.env.VUE_APP_BASE_WSS,
//   comUploadUrl: process.env.NODE_ENV === 'development' ? '/dev-api/api/Common/Uploader' : process.env.VUE_APP_BASE_API + '/api/Common/Uploader',
//   comUrl: '/dev-api' ,//process.env.VUE_APP_BASE_API,
//   // 大屏应用前端路径
//   dataV: process.env.NODE_ENV === 'development' ? 'http://localhost:8100/DataV' : process.env.VUE_APP_BASE_API + '/DataV',
//   // 数据报表
//   reportServer: process.env.NODE_ENV === 'development' ? 'http://localhost:9000' : process.env.VUE_APP_BASE_API + '/ReportServer',
//   report: process.env.NODE_ENV === 'development' ? 'http://localhost:8080' : process.env.VUE_APP_BASE_API + '/Report'
// }


module.exports = {
  APIURl: APIURl,
  timeout: process.env.NODE_ENV === 'development' ? 100000 : 1000000,
  WebSocketUrl: process.env.NODE_ENV === 'development' ? APIURl.replace('http', 'ws') + '/websocket' : process.env.VUE_APP_BASE_WSS,
  comUploadUrl:  process.env.VUE_APP_BASE_API + '/api/Common/Uploader',
  comUrl: process.env.VUE_APP_BASE_API,
  // 大屏应用前端路径
  dataV: process.env.NODE_ENV === 'development' ? 'http://localhost:8100/DataV' : process.env.VUE_APP_BASE_API + '/DataV',
  // 数据报表
  reportServer: process.env.NODE_ENV === 'development' ? 'http://localhost:9000' : process.env.VUE_APP_BASE_API + '/ReportServer',
  report: process.env.NODE_ENV === 'development' ? 'http://localhost:8080' : process.env.VUE_APP_BASE_API + '/Report'
}
